import Layout from '@/layout/index.vue'

export default [
  {
    path: '/',
    component: Layout,
    children: [
      {
        name: 'product',
        path: '/erp/product',
        component: () => import('@/views/erp/product/index.vue'),
        meta: {
          requiresAuth: true,
          title: '产品管理'
        }
      },
      {
        name: 'productSubmit',
        path: '/erp/product/submitModule',
        component: () => import('@/views/erp/product/modules/submitModule.vue'),
        meta: {
          requiresAuth: true,
          title: '产品提交'
        }
      }
    ]
  }
]
